#!/bin/bash

daytime=`fgrep "is_it_day_time" /var/lib/wview/img/index.html | awk '{print $2}'`
daytime=`fgrep "is_it_day_time" /home/tom/siweather/website/index-day.htx | awk '{print $2}'`


if [ 1 -eq $daytime ]
then
	echo "tis daytime"
else
	echo "tis nighttime"
fi

exit 0
